package com.base.service;

import com.base.po.replacement.ReplacementUserinfo;
import com.base.po.replacement.ReplacementUserinfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReplacementUserinfoService {
    int countByExample(ReplacementUserinfoExample example);

    int deleteByExample(ReplacementUserinfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ReplacementUserinfo record);

    int insertSelective(ReplacementUserinfo record);

    List<ReplacementUserinfo> selectByExample(ReplacementUserinfoExample example);

    ReplacementUserinfo selectByPrimaryKey(Integer id);

    ReplacementUserinfo selectByUserID(String userid);

//    ReplacementUserinfo selectByConfigNo(String configno);

    int updateByExampleSelective(@Param("record") ReplacementUserinfo record, @Param("example") ReplacementUserinfoExample example);

    int updateByExample(@Param("record") ReplacementUserinfo record, @Param("example") ReplacementUserinfoExample example);

    int updateByPrimaryKeySelective(ReplacementUserinfo record);

    int updateByPrimaryKey(ReplacementUserinfo record);
}